<?php
	require_once('WKPDF.php');
	$pdf = new WKPDF();
	$html = $_POST['html'];
	$filename = $_POST['filename'];
	$pdf->set_html($html);
	$pdf->render();
	$pdf->output('D',$filename.'.pdf');
	print $html;
?>
